<%-- 
    Document   : ListarExcluirSubcategorias
    Created on : 05/12/2008, 16:53:46
    Author     : aldiene
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri = "http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <link rel="stylesheet" href="gastozero.css" type="text/css">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>TELA LISTAR E EXCLUIR SUBCATEGORIA</title>
    </head>
<body  class="body" background="imagemDeFundo.jpg">
<center> <font size="3" face="arial" > <h1>Gasto Zero</h1></font></center><br/><br/><br/>
<div class="style1" >
<center>
<font ><a href="Menu.jsp" class="texto" >MENU</a></font>&nbsp;&nbsp;&nbsp;&nbsp;
<font ><a href="CadastrarCategorias.jsp" class="dcontexto" >VOLTAR<<</a></font>&nbsp;&nbsp;&nbsp;&nbsp;
<font  class="texto"><a class="texto"  href="index.jsp">SAIR >></a></font>&nbsp;&nbsp;&nbsp;&nbsp;

</center>
</div>
<br>
<center>    
    <table border="1">
        <tr>
            <th>ID SUBCATEGORIA</th>
            <th>NOME SUBCATEGORIA</th>
            <th> ALTERAR </th>
            <th> EXCLUIR </th>
        </tr>
        <c:forEach var="subcategoria"  items="${subcategorias}">
        
            <tr>
                <td>${subcategoria.id_subcategoria}</td>
                <td>${subcategoria.nome_subcategoria}</td>
                <td><a href="ServletSubcategoria?acao=alterar&id_subcategoria=${subcategoria.id_subcategoria}"><center><img src="alterar1.gif" width="25" height="25" /></center></a></td>
                <td><a href="ServletSubcategoria?acao=excluir&id_subcategoria=${subcategoria.id_subcategoria}"><center><img src="excluir1.gif" width="25" height="25"/></center></a></td>
            </tr>
        </c:forEach>
    </table>
</center>
</head>
</html>
